Package com.cisco.pt.ipc.sim.pdu
Interface RIPv6RoutePacket
- All Known Implementing Classes:
RIPv6RoutePacketImpl
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintvoidsetAddressFamily(Short addressFamily) voidsetIpAddress(IPV6Address ipAddress) voidsetIsRedistributed(boolean isRedistributed) voidsetMetric(int metric) voidsetNextHop(IPV6Address nextHop) voidsetRouteTag(Short routeTag) voidsetSubnetMask(IPV6Address subnetMask) Methods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
encodeTypeAndPayload, getFieldValue, getOrderedFieldNames, pduRead
-
Method Details
-
getAddressFamily
Short getAddressFamily()- Returns:
- Short Returns a Short
-
setAddressFamily
- Parameters:
addressFamily- Takes in a parameter of addressFamily
-
getRouteTag
Short getRouteTag()- Returns:
- Short Returns a Short
-
setRouteTag
- Parameters:
routeTag- Takes in a parameter of routeTag
-
getIpAddress
IPV6Address getIpAddress()- Returns:
- IPV6Address Returns a IPV6Address
-
setIpAddress
- Parameters:
ipAddress- Takes in a parameter of ipAddress
-
getSubnetMask
IPV6Address getSubnetMask()- Returns:
- IPV6Address Returns a IPV6Address
-
setSubnetMask
- Parameters:
subnetMask- Takes in a parameter of subnetMask
-
getNextHop
IPV6Address getNextHop()- Returns:
- IPV6Address Returns a IPV6Address
-
setNextHop
- Parameters:
nextHop- Takes in a parameter of nextHop
-
getMetric
int getMetric()- Returns:
- int Returns a int
-
setMetric
void setMetric(int metric) - Parameters:
metric- Takes in a parameter of metric
-
getIsRedistributed
boolean getIsRedistributed()- Returns:
- boolean Returns a boolean
-
setIsRedistributed
void setIsRedistributed(boolean isRedistributed) - Parameters:
isRedistributed- Takes in a parameter of isRedistributed
-